<?php
class GoodsVModel extends ViewModel{
	public $viewFields = array(
			'OrderGoods' => array(
					'id','order_id','product_id','product_thumb','product_name','product_psn',
					'price','priceall','number','mname',
					'_as'=>'g',
					'_type'=>'LEFT',
			),
			'OrderGoodsExt' => array(
					'ext','saleprice','allsaleprice','site_id','salenumber',
					'_as'=>'ge',
					'_on' => 'g.id=ge.goods_id',
			),
	);
}